package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.ComplaintsAndEvaluationDTO;
import com.eastfair.venueservice.entity.ComplaintsAndEvaluation;
import com.eastfair.venueservice.vo.ComplaintsAndEvaluationVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 投诉评价
 * </p>
 *
 * @author dqq
 * @date 2022-12-28
 */
public interface ComplaintsAndEvaluationService extends SuperService<ComplaintsAndEvaluation> {
    /**
     * do转vo
     * @param model
    */
    ComplaintsAndEvaluationVO doToVo(ComplaintsAndEvaluation model);
   /**
    * do转vo
    * @param modelList
   */
    List<ComplaintsAndEvaluationVO> doToVos(List<ComplaintsAndEvaluation> modelList);


   /**
    * 通用查询
    *
    * @param modelDTO DTO
    * @param ids 主键id集合
    * @return list
    */
   List<ComplaintsAndEvaluation> list(ComplaintsAndEvaluationDTO modelDTO, List<Long> ids);

  /**
  * 通用查询
  *
  * @param modelDTO DTO
  * @param ids 主键id集合
  * @return list
  */
  List<ComplaintsAndEvaluation> listOfCache(ComplaintsAndEvaluationDTO modelDTO, List<Long> ids);
}
